package com.woniuxy.crm.entity;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Setter
@Getter
public class Product {
    private int id;
    private String name;
    private BigDecimal price;
    private int stock;
    private String image;
    private int category_id;
    private String is_deleted;
    private String status;
    private  String remark;

    public Product(int id, String name, BigDecimal price, int stock, String image, int category_id, String is_deleted, String status,String remark) {
        this.id = id;
        this.name = name;
        this.price = price;
        this.stock = stock;
        this.image = image;
        this.category_id = category_id;
        this.is_deleted = is_deleted;
        this.status = status;
        this.remark = remark;
    }

    public Product() {

    }

    public Product(int id, String name, BigDecimal price, int stock, String image, boolean temp, int Category) {
        this.id = id;
        this.price = price;
        this.name = name;
        this.image = image;
        this.stock = stock;


    }

    public String toString() {

        return id+name+category_id+stock+price+image+remark+status;
    }


}
